package com.wakala.employment.fragment.other;

import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;

import com.wakala.employment.core.BaseFragment;
import com.wakala.employment.databinding.FragmentBlackListBinding;
import com.xuexiang.xpage.annotation.Page;
import com.xuexiang.xpage.enums.CoreAnim;
import com.xuexiang.xui.widget.actionbar.TitleBar;
import com.xuexiang.xui.widget.statelayout.StatefulLayout;
import com.xuexiang.xui.widget.textview.supertextview.SuperTextView;

/**
 * A simple {@link Fragment} subclass.
 * Use the {@link BlackListFragment#} factory method to
 * create an instance of this fragment.
 */
@Page(anim = CoreAnim.none)
public class BlackListFragment extends BaseFragment<FragmentBlackListBinding> implements SuperTextView.OnSuperTextViewClickListener {

    private StatefulLayout statefulLayout;
    @NonNull
    @Override
    protected FragmentBlackListBinding viewBindingInflate(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, boolean attachToRoot) {
        return FragmentBlackListBinding.inflate(inflater, container, attachToRoot);
    }

    @Override
    protected TitleBar initTitle() {
        return super.initTitle().setTitle("黑名单管理");
    }

    @Override
    protected void initViews() {
        statefulLayout = binding.llStateful;
        statefulLayout.showEmpty();
    }

    @Override
    public void onClick(SuperTextView superTextView) {

    }
}